package com.zys.el.time.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zys.el.time.entity.Channel;
import com.zys.el.time.vojo.ChannelVo;

import java.util.List;


public interface ChannelService extends IService<Channel> {

    List<ChannelVo> getByUserId(Long userId);

    ChannelVo getChannelInfoById(Long id, Long userId);

    void saveAndSubscribe(Channel channel);

    void removeByIdWithSubscribe(Long channelId);
}
